/**
 * @projectName CollegeEmploymentNetwork
 * @package com.kzj.CollegeEmploymentNetwork.shiro.overrides
 * @className com.kzj.CollegeEmploymentNetwork.shiro.overrides.SecretFreeAbleAuthenticationToken
 * @copyright Copyright 2025 Thunisoft, Inc All rights reserved.
 */
package com.kzj.CollegeEmploymentNetwork.shiro.overrides;

import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.util.ByteSource;

/**
 * SecretFreeAbleAuthenticationToken
 * @description
 * @author KZJ
 * @date 2025/1/24 19:44
 * @version TODO
 */
public class SecretFreeAbleAuthenticationToken extends SimpleAuthenticationInfo {
    private boolean free;

    public boolean isFree() {
        return free;
    }

    public SecretFreeAbleAuthenticationToken(boolean free,Object principal, Object credentials, String realmName){
        super(principal,credentials,realmName);
        this.free=free;
    }
    public SecretFreeAbleAuthenticationToken(Object principal, Object hashedCredentials, ByteSource credentialsSalt, String realmName) {
        super(principal,hashedCredentials,credentialsSalt,realmName);
    }
}